package com.office.automate.administration.data.validator;

import com.office.automate.model.administration.PublicHoliday;

public class PublicHolidayDataValidator extends AdministrationDataValidator {

	public void validatePublicHolidayDetails(PublicHoliday publicHoliday) {

		validateHolidayDescription(publicHoliday.getHolidayDescription());

		validateHolidayType(publicHoliday.getHolidayType());

		validateExistanceOfHoliday(publicHoliday.getHolidayDate());
	}
}
